using System.ComponentModel;
using Needle.Framework;

namespace Needle.Core.Resolver
{

    /// <summary>
    /// Provides method to resolve instances and activators for a dependency.
    /// </summary>
    public interface IResolver : IComponent, IInitializable
    {
        /// <summary>
        /// resolves an instance for the dependency.
        /// </summary>
        object GetInstance(InstanceId id);
    }
}
